package cn.kevinproject.dingtalk_robot.msg;


import com.dingtalk.api.request.OapiRobotSendRequest;
import lombok.Data;
import lombok.val;

import java.util.List;

/**
 * @author kevin lau
 */
@Data
public class BaseTextMessage extends Message{

    protected String text;


    @Override
    public OapiRobotSendRequest buildRequest() {
        val request = new OapiRobotSendRequest();
        request.setMsgtype(getMsgType());
        return request;
    }
}
